package com.student.liu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 用户收藏 实体类
 */
@Data
public class UserCollect implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer userId;
    @NotNull(message = "订单id,orderformId")
    private Integer orderformId;
    @NotNull(message = "地址id,adderssId")
    private Integer adderssId;

}
